package com.project.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 对象存储
 */
@Component
@ConfigurationProperties(prefix = "oss")
@Data
public class OssConfig {
    private String secretId;

    private String secretKey;

    private String endpoint;

    private String bucketName;

    private String rewritePath;

    private String urlPrefix;
}
